Optimal. Leaf size=311 \[ -\frac {f (a+b x)^{1+m} (c+d x)^{2-m}}{4 (b e-a f) (d e-c f) (e+f x)^4}-\frac {f (b (5 d e-c f (3-m))-a d f (2+m)) (a+b x)^{1+m} (c+d x)^{2-m}}{12 (b e-a f)^2 (d e-c f)^2 (e+f x)^3}-\frac {(b c-a d)^2 \left (2 a b d f (4 d e-c f (2-m)) (1+m)-a^2 d^2 f^2 \left (2+3 m+m^2\right )-b^2 \left (12 d^2 e^2-8 c d e f (2-m)+c^2 f^2 \left (6-5 m+m^2\right )\right )\right ) (a+b x)^{1+m} (c+d x)^{-1-m} \, _2F_1\left (3,1+m;2+m;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{12 (b e-a f)^5 (d e-c f)^2 (1+m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.24, antiderivative size = 310, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {105, 156, 12,
133} \begin {gather*} -\frac {(b c-a d)^2 (a+b x)^{m+1} (c+d x)^{-m-1} \left (-a^2 d^2 f^2 \left (m^2+3 m+2\right )+2 a b d f (m+1) (4 d e-c f (2-m))-\left (b^2 \left (c^2 f^2 \left (m^2-5 m+6\right )-8 c d e f (2-m)+12 d^2 e^2\right )\right )\right ) \, _2F_1\left (3,m+1;m+2;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{12 (m+1) (b e-a f)^5 (d e-c f)^2}-\frac {f (a+b x)^{m+1} (c+d x)^{2-m} (-a d f (m+2)-b c f (3-m)+5 b d e)}{12 (e+f x)^3 (b e-a f)^2 (d e-c f)^2}-\frac {f (a+b x)^{m+1} (c+d x)^{2-m}}{4 (e+f x)^4 (b e-a f) (d e-c f)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 105
Rule 133
Rule 156
Rubi steps
\begin {align*} \int \frac {(a+b x)^m (c+d x)^{1-m}}{(e+f x)^5} \, dx &=-\frac {f (a+b x)^{1+m} (c+d x)^{2-m}}{4 (b e-a f) (d e-c f) (e+f x)^4}-\frac {\int \frac {(a+b x)^m (c+d x)^{1-m} (-b (4 d e-c f (3-m))+a d f (2+m)+b d f x)}{(e+f x)^4} \, dx}{4 (b e-a f) (d e-c f)}\\ &=-\frac {f (a+b x)^{1+m} (c+d x)^{2-m}}{4 (b e-a f) (d e-c f) (e+f x)^4}-\frac {f (5 b d e-b c f (3-m)-a d f (2+m)) (a+b x)^{1+m} (c+d x)^{2-m}}{12 (b e-a f)^2 (d e-c f)^2 (e+f x)^3}+\frac {\int \frac {\left (-2 a b d f (4 d e-c f (2-m)) (1+m)+a^2 d^2 f^2 \left (2+3 m+m^2\right )+b^2 \left (12 d^2 e^2-8 c d e f (2-m)+c^2 f^2 \left (6-5 m+m^2\right )\right )\right ) (a+b x)^m (c+d x)^{1-m}}{(e+f x)^3} \, dx}{12 (b e-a f)^2 (d e-c f)^2}\\ &=-\frac {f (a+b x)^{1+m} (c+d x)^{2-m}}{4 (b e-a f) (d e-c f) (e+f x)^4}-\frac {f (5 b d e-b c f (3-m)-a d f (2+m)) (a+b x)^{1+m} (c+d x)^{2-m}}{12 (b e-a f)^2 (d e-c f)^2 (e+f x)^3}-\frac {\left (2 a b d f (4 d e-c f (2-m)) (1+m)-a^2 d^2 f^2 \left (2+3 m+m^2\right )-b^2 \left (12 d^2 e^2-8 c d e f (2-m)+c^2 f^2 \left (6-5 m+m^2\right )\right )\right ) \int \frac {(a+b x)^m (c+d x)^{1-m}}{(e+f x)^3} \, dx}{12 (b e-a f)^2 (d e-c f)^2}\\ &=-\frac {f (a+b x)^{1+m} (c+d x)^{2-m}}{4 (b e-a f) (d e-c f) (e+f x)^4}-\frac {f (5 b d e-b c f (3-m)-a d f (2+m)) (a+b x)^{1+m} (c+d x)^{2-m}}{12 (b e-a f)^2 (d e-c f)^2 (e+f x)^3}-\frac {(b c-a d)^2 \left (2 a b d f (4 d e-c f (2-m)) (1+m)-a^2 d^2 f^2 \left (2+3 m+m^2\right )-b^2 \left (12 d^2 e^2-8 c d e f (2-m)+c^2 f^2 \left (6-5 m+m^2\right )\right )\right ) (a+b x)^{1+m} (c+d x)^{-1-m} \, _2F_1\left (3,1+m;2+m;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{12 (b e-a f)^5 (d e-c f)^2 (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.71, size = 271, normalized size = 0.87 \begin {gather*} \frac {(a+b x)^{1+m} (c+d x)^{-1-m} \left (-\frac {3 f (c+d x)^3}{(e+f x)^4}-\frac {f (5 b d e+b c f (-3+m)-a d f (2+m)) (c+d x)^3}{(b e-a f) (d e-c f) (e+f x)^3}+\frac {(b c-a d)^2 \left (-2 a b d f (4 d e+c f (-2+m)) (1+m)+a^2 d^2 f^2 \left (2+3 m+m^2\right )+b^2 \left (12 d^2 e^2+8 c d e f (-2+m)+c^2 f^2 \left (6-5 m+m^2\right )\right )\right ) \, _2F_1\left (3,1+m;2+m;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{(b e-a f)^4 (d e-c f) (1+m)}\right )}{12 (b e-a f) (d e-c f)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {\left (b x +a \right )^{m} \left (d x +c \right )^{1-m}}{\left (f x +e \right )^{5}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (a+b\,x\right )}^m\,{\left (c+d\,x\right )}^{1-m}}{{\left (e+f\,x\right )}^5} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________